package org.commonsemantics.scigrails.module.users.community

/**
* @author Paolo Ciccarese <paolo.ciccarese@gmail.com>
*/
enum DefaultCommunityRoles {

	ADMIN("COMMUNITY_ADMIN", "Admin", "Group Administrators manage curators and users that can access their group. The group creation has to be authorized by the system administrator. " +
		"The Circle Administrator can also export the entire dataset produced by the members of her/his group."),
	EDITOR("COMMUNITY_EDITOR", "Editor", ""),
	CURATOR("COMMUNITY_CURATOR", "Curator", "The Circle Moderators manage the users that can access their group. Curators can also publish the official annotation of the group."),
	ANALYST("COMMUNITY_ANALYST", "Analyst", "The Analyst have access to the data - anonymized or not - in order to perform data mining."),
	USER("COMMUNITY_USER", "User", "")
	
	DefaultCommunityRoles(String value, String label, String description) {
		this.value = value
		this.label = label;
		this.description = description;
	}
	
	private final String value
	public String value() { return value }
	private final String label
	public String label() { return label }
	private final String description
	public String description() { return description }
}
